Create database agentic module#21
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
More reviews will be available in 47 minutes and 13 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR expands the database documentation in taichi112.works by introducing a first-pass “agentic database applications” module and refining the database labs roadmap to focus on conceptual, agent-safe workflows.
Changes:
- Expanded Agentic Database Applications documentation with a safety checklist and a human-in-the-loop Mermaid workflow.
- Refined Database Labs to be explicitly conceptual and added new lab topics (schema review, query performance thinking, agent-safe workflow).
- Updated wording/structure to better reflect theory→execution learning goals without requiring a live sandbox.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| docs/(computer_science)/systems/db/labs/index.mdx | Updates the labs roadmap and adds conceptual exercises, including agent-safe operational thinking. |
| docs/(computer_science)/systems/db/agentic-applications/index.mdx | Introduces a new “agentic DB applications” doc with safety principles and an approval workflow diagram. |
| @@ -1,10 +1,78 @@ | |||
| --- | |||
| title: "Agentic Applications" | |||
| ### Lab 3: Query Performance Thinking | ||
| **Goal**: Retrieve nested data efficiently without causing bottlenecks. | ||
| - **Mental Exercise**: How do we get a user and all of their active projects in a single step without overwhelming the database (avoiding the N+1 problem)? | ||
| - **Execution**: Understand the difference between querying in a loop versus using a proper database Join. |
|
|
||
| ### Lab 4: Agent-Safe Database Workflow | ||
| **Goal**: Design a safe approval flow for an AI agent. | ||
| - **Mental Exercise**: An AI agent proposes a dangerous query: `DELETE FROM Users WHERE last_login < 2020`. This query is strictly for review training and should not be executed directly. |
| System-->>User: Request Human Approval | ||
| alt Approved | ||
| User->>System: Approves Action | ||
| System->>Database: Execute Scoped Query |
Summary
Validation
Notes